package com.kingwang.training.designpattern.iterator;

import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;

@SpringBootApplication
public class IteratorApplication implements ApplicationRunner {

    public static void main(String[] args) {
        SpringApplication.run(IteratorApplication.class, args);
    }

    @Override
    public void run(ApplicationArguments args) throws Exception {
        List<Object> list = new ArrayList<>();

        Iterator<Object> iterator = list.iterator();


    }
}
